import 'package:bxultimate/data/request/shop_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class MerchantEnterDashboardController extends GetxController {
  final MerchantEnterDashboardState state = MerchantEnterDashboardState();

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();

    getData();
  }

  getData() async {
    state.shopDashboard = await ShopRequest.getMyShop();
  }
}
